package com.itheima.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheim.client.vo.SetmealDishesVo;
import com.itheim.client.vo.SetmealVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author longbosheng
 * @Date 2022/6/15 15:17
 * @PackageName:com.itheima.mapper
 * @ClassName: SetmealMapper
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface CSetmealMapper extends BaseMapper<SetmealVo> {
    @Select("select *from setmeal_dish where setmeal_id = #{id}")
    List<SetmealDishesVo> selectSetmealById(String id);
}
